all:
	swig -python rav.i
	ARCHFLAGS="-arch x86_64" CFLAGS="-std=gnu99 -O3" LDFLAGS="-lm -lfftw3" python setup.py build_ext --inplace

clean:
	rm -rf *.pyc *.so a.out* build/* rav_wrap.c rav.py

test1:
	gcc -std=gnu99 -I. -arch x86_64 -Wall test1.c -lm /usr/local/lib/libfftw3.a

test2:
	gcc -std=gnu99 -I. -arch x86_64 -Wall test2.c
